package com.cqfae.deploycentral.app.web.response;

import com.cqfae.deploycentral.app.config.JiraIssues;
import org.joda.time.DateTime;

import java.net.URI;
import java.util.List;

public class JiraInfo {

    //JIRA版本的id
    private Long versionId;
    private Long code;
    //JIRA版本的中文名称
    private String versionName;
    private String name;
    //JIRA版本的中文描述
    private String versionDescription;
    //JIRA版本的发布版本日期
    private DateTime releaseDate;
    //JIRA版本的发布版本url
    private URI self;
    //JIRA各项目组的代码简称（唯一）
    private String projectKey;
    //JIRA各项目组的中文名称
    private String projectName;
    //JIRA各待发布版本中所关联的问题
    private List<JiraIssues> issuesList;

    public URI getSelf() {
        return self;
    }

    public void setSelf(URI self) {
        this.self = self;
    }

    public DateTime getReleaseDate() {
        return releaseDate;
    }

    public void setReleaseDate(DateTime releaseDate) {
        this.releaseDate = releaseDate;
    }

    public Long getVersionId() {
        return versionId;
    }

    public void setVersionId(Long versionId) {
        this.versionId = versionId;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getVersionDescription() {
        return versionDescription;
    }

    public void setVersionDescription(String versionDescription) {
        this.versionDescription = versionDescription;
    }

    public String getProjectKey() {
        return projectKey;
    }

    public void setProjectKey(String projectKey) {
        this.projectKey = projectKey;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public List<JiraIssues> getIssuesList() {
        return issuesList;
    }

    public void setIssuesList(List<JiraIssues> issuesList) {
        this.issuesList = issuesList;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
